package com.ftg.learn.chapter15.proxy;

/**
 * @author KangJx
 * @date 2021/7/28
 */
public class Play {

    public static void main(String[] args) {
        ISinger is = new Singer("刘德华");
        is.singSong("笨小孩");

        System.out.println("===========-=============");
        ISinger is1 = new CompanyProxy(new Singer("刘德华"));
        is1.singSong("笨小孩");
    }

}
